package com.jjsj.mall.config;

/**
 * <一句话功能简述>
 * <功能详细描述>配置信息
 *
 * @author Administrator
 * @version [版本号, 2018-2-1]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
public class SwiftpassConfig {

    /**
     * 交易密钥
     */
    public static String key;
    public static String mchPrivateKey = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCes+UE14/RFT87SeNCZXt3O9QWR84F7P+xCpxcCsX6oE2/QrbLF/tk90bdDlTjQrfS3i7Gp4OeJxz2YC2cI4rdkCDAEaWpZCfFoeJB7qd9/V3ouMmLkXtzE6zteHuWC5YBvI8cctMVjjbXO50xqB34rg3WVTG7H7NEPqhmLdoRT7NETOSoAf2K/m9SR4Cjul4yRQvELvLgR1p43s7S/EZZeN418GfOdbc15OAWQbKaKwccYO4rV0cOK7Ct7sKi+xjSfloGNjLScgRxaEdftqGpp1TwQzmZc8Ze07+zUPE+NIw2buGfoSdun0X0SYIvzUiVbuUkTgo/EkSq9Ajww+yXAgMBAAECggEAddTVfsHZ+wBOgWO7w2l7wSx/rMdFdWrg8X8SVth85DevYglTlPlKY02hpLFmX5IC0CK9Eiv/8iXSQC9qzdop2ZWQa2ru2BUP3pHyXsemPkonNoo0wlaTFP8PzwU8pUwW5VUt4I50oTWFDEsrzFmpXyFEDtYUZX4E6O+osqzqkxyxibrudeVVVg2tn/5DoV+AxTZsuc9t1q+C+l5aeGiE2QAMimnJIilBPPvdar9WPWD5uztLM9VosrSHAJW7onKEAxNkvYiYmVx5esY9pltXDP9oY287qIHRDNk+kZoeiCh2dziVTNDjl1nIcPpdbn/QNB+g5xAkhmt2Ih41JQpHUQKBgQDKRoODrVaYqDR7YRwJ4zt3gjNzUHjxtHsS90kVPYwduEy8lKCazluexWSCsJoxX8ZTN9ZQzyDF3dc7banOeChe+Ur/kCWonLXuSW4o1xbBa37MkL9yWCRutTKQhKl8MpUTBtqeqV+8z6qY7Qjzyiu0nnhoUlc3unhferpHI/8yyQKBgQ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RZChPgluWuyYW30wIDAQAB";
    /**
     * 商户号
     */
    public static String mch_id = "105580129388";

    /**
     * 请求url
     */
    public static String req_url = "https://pay.swiftpass.cn/pay/gateway";

    /**
     * 通知url
     */
    public static String notify_url = "https://www.jjsjshop.com/prod-api/weixin/api/ma/orderinfo/notify-order";

//    static{
//        Properties prop = new Properties();
//        InputStream in = SwiftpassConfig.class.getResourceAsStream("/config.properties");
//        try {
//            prop.load(in);
//            key = prop.getProperty("key").trim();
//            mchPrivateKey = prop.getProperty("mchPrivateKey").trim();
//            platPublicKey = prop.getProperty("platPublicKey").trim();
//            mch_id = prop.getProperty("mch_id").trim();
//            req_url = prop.getProperty("req_url").trim();
//            notify_url = prop.getProperty("notify_url").trim();
//        } catch (IOException e) {
//            e.printStackTrace();
//        }
//    }
}
